package sctu.edu.java.year2016.team06.yuweimei.Day20160525.chapter7_3;

/**
 * 根据运行参数的个数决定循环打印变量i值的次数。
 * Created by asus on 2016/5/26.
 */

import java.util.Scanner;

public class Ying {
    public static void main(String[] args) {
        System.out.println("每天一个笑脸！");
        System.out.println("请输入打印次数：");
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        for (int i = 0; i < a; i++) {
            System.out.println("每天一个笑脸！");
        }

    }


}
